package com.zsx.shopping.seckill.redis;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 秒杀商品信息,缓存于redis
 */
@Data
public class RedisSeckillSku {

    private Long skuId;

    private Long sessionId;

    private BigDecimal seckillPrice;

    private Integer count;

    private Integer limit;

    private Long startTime;

    private Long endTime;

    private String randomCode;

    private String name;

    private BigDecimal price;

    private String defaultImage;

    private String saleAttrs;
}
